package com.umakr.ax.common.service;

import com.umakr.ax.common.model.Area;
import com.umakr.ax.common.mapper.AreaMapper;
import com.umakr.ax.common.vo.AreaVO;
import com.umakr.ax.core.base.BaseService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * ${table.comment} 服务实现类
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2017-12-30
 */
@Service
public class AreaService extends BaseService<AreaMapper, Area>{

    public List<AreaVO> listAreaNodesByPid(Long pId) {
        return baseMapper.listAreaNodesByPid(pId);
    }
}
